using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class MasterPage : System.Web.UI.MasterPage
{
    

    protected void Page_Load(object sender, EventArgs e)
    {
        String ID = Request.QueryString["id"];

        ManageLibrary manager = new ManageLibrary();
        
        Library lib = manager.getLibrary(ID);
        lblLibraryName.Text = lib.Name;
        lblLibraryMotto.Text = lib.Motto;

        //Session["theme"] = lib.Theme;
        //Page.Theme = lib.Theme;
    }
}
